﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MRP_MasterPage.master" AutoEventWireup="true"
    CodeFile="MRP_ViewProductPrice.aspx.cs" Inherits="MRP_ViewProductPrice" %>

<%@ Register Assembly="ListControlsEx" Namespace="Manu.Web.UI.WebControls" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <h1>
        查看价格</h1>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div id="priceViewOption">
            <div class="Info">您可以通过下面的途径来查看您关心的产品价格：</div>
                <asp:RadioButton ID="RadioButton1" runat="server" GroupName="1" 
                    Text="所有客户的所有产品  " AutoPostBack="True" 
                    oncheckedchanged="RadioButton1_CheckedChanged" Checked="True" />
                <asp:RadioButton ID="RadioButton2" AutoPostBack="true" runat="server" GroupName="1"
                    Text="指定客户：" OnCheckedChanged="RadioButton2_CheckedChanged" />
                <asp:DropDownList ID="DropDownList1" Width="20%" runat="server" 
                    AutoPostBack="True" 
                    onselectedindexchanged="DropDownList1_SelectedIndexChanged">
                </asp:DropDownList>
                <asp:RadioButton ID="RadioButton3" runat="server" GroupName="1" Text="指定产品：" AutoPostBack="true" 
                    oncheckedchanged="RadioButton3_CheckedChanged" />
                <cc1:DropDownListEx ID="DropDownList2" Width="30%" runat="server"  
                    AutoPostBack="True" ondatabinding="DropDownList2_DataBinding" 
                    onselectedindexchanged="DropDownList2_SelectedIndexChanged">
                </cc1:DropDownListEx>
            </div>
            <div id="priceInfo" runat="server">
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--    <asp:DataList ID="dlProductList" runat="server">
    <ItemTemplate>
        <asp:Label ID="Label1" runat="server" Text='<%#string.Format("{0}(客户编码：{1})", Eval("CompanyName"),Eval("CustomerCode")) %>'></asp:Label>
        <asp:Label ID="Label2" runat="server" Text='<%#string.Format("{0}(产品编码：{1})", Eval("ProductName"),Eval("MCode")) %>'></asp:Label>
    </ItemTemplate>
    </asp:DataList>   
--%>
</asp:Content>
